package com.ys.day32.p1FastJson模拟;

import java.util.Date;

/**
 * 描述: 实体类
 *
 * @author CodeYang
 * @version 2021/1/18 15:22
 */
public class User {

    private Integer id;

    private String name;

    private String address;
    private Date birth;
    public User() {
    }
    public User(Integer id, String name, String address, Date birth) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.birth = birth;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }
}
